<!doctype html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>拖拽和文件上传</title>
    <link rel="stylesheet" href="index.css">
</head>

<body>
    <div class="drag">
        <div id="head">
            <p>图片拖拽上传示范</p>
        </div>
        <div id="main">
            <div class="left">
                <a href="">
                    <div>
                        选择图片
                    </div>
                    <input type="file" name="file" id="file1" multiple >
                </a>
            </div>
            <div class="right">
                请将图片拖到此区域
            </div>
        </div>
        <div class="info">
            <div id="info">
                已选中0张图片，共0MB
            </div>
            <div id="other">
                <a href="" id="continue">
                    继续选择
                    <input type="file" name="file" id="file2" multiple >
                </a>
                <a href="" id="begin">上传</a>
            </div>
        </div>
        <div id="show">
            <!-- <div>
                <div>
                    <p>0.54mb</p>
                    <i></i>
                </div>
                <div>
                    <img src="" alt="">
                </div>
            </div> -->
            
        </div>


    </div>
    
    


    <script src="index.js"></script>
</body>

</html>